import React from 'react';
import Lier from './li';

const Sectioner = ({ title,list }) => {
    return <section>
        <h3>{title}</h3>
        <ul>
            {list.map((l, i) => <Lier key={i} {...l} />)}
        </ul>
    </section>
}

export default Sectioner;